﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Paradox.Models.Story>>" %>


<rss version="2.0">
    
    <channel>
        <title>Paradox Designs News Feed</title>
        <link>http://www.paradoxonline.net</link>
        <description>The latest news from Paradox Designs</description>
        <generator>Paradox Designs RSS Feed Engine</generator>
        
        <% foreach (var item in Model)
           { %>
         
        <item>
            <guid isPermaLink="false"><%="~/Story/"+item.id %></guid>
            <title> <%=item.title %></title>
            <link></link>
            <pubDate><%= item.posted_on.ToString("ddd, dd MMM yyyy HH:mm:ss")%> +5000</pubDate>
            <author><%= item.Author %></author>
            <description><![CDATA[<%= item.StoryText %>]]></description>
           
        </item><% } %>
        
      </channel>  
 
 </rss>
